                <?
               $server = 'localhost';	//to connect to the server
               $user = 'root';		//to use database
               $password = '';	//password for database
               $database = 'hrpp';	//database name
               $connect = mysql_connect($server, $user, $password) or die  ('Unable to connect!');
               $select = mysql_select_db($database,$connect) or die ('Unable to retrieve the database!'); 
               ?>